package com.study.springcloud;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author chaos-supreme(混沌至尊):raoluping
 * @Date 2017/10/27 11:25
 * @ProjectName springcloudfather
 * @Description
 */
@RestController
@RequestMapping("/dbService")
public class ConfigClientGetValueFromServerTest {
  // 先屏蔽
  // @Value("${neo.hello}")
  private String hello="123";


 /* @RequestMapping("/test")
  public String test(@RequestParam String name) {
    return name + "hello ,is db service  value '" + hello + " ' from center config ";
  }*/

}
